import request from '@/utils/request'

export function list(param){
	return request({
		url:'/score/courseAssessName/list',
		method:'get',
		params:param
	})
}

export function listAll(param){
	return request({
		url:'/score/courseAssessName/listAll',
		method:'get',
		params:param
	})
}

export function add(param){
	return  request({
		url:'/score/courseAssessName/add',
		method:'post',
		data:param
	})
}
export function update(param){
	return request({
		url:'/score/courseAssessName/update',
		method:'put',
		data:param
	})
}
export function deleteInfo(id){
	return request({
		url:'/score/courseAssessName/'+id,
		method:'delete'
	})
}
export function getCourseassessName(id){
	return request({
		url:'/score/courseAssessName/getInfo/'+id,
		method:'get'
	})
}
export function getScore(courseId){
	return request({
		url:'/score/getScore/'+courseId,
		method:'get'
	})
}
